import request from '@/utils/request'

// 查询用户提现审核列表
export function listLog(query) {
  return request({
    url: '/com/rejectLog/list',
    method: 'get',
    params: query
  })
}

// 查询用户提现审核详细
export function getLog(rejectId) {
  return request({
    url: '/com/rejectLog/' + rejectId,
    method: 'get'
  })
}

// 新增用户提现审核
export function addLog(data) {
  return request({
    url: '/com/rejectLog',
    method: 'post',
    data: data
  })
}

// 审核
export function updateLog(data) {
  return request({
    url: '/com/rejectLog/sp',
    method: 'post',
    data: data
  })
}

// 删除用户提现审核
export function delLog(rejectId) {
  return request({
    url: '/com/rejectLog/' + rejectId,
    method: 'delete'
  })
}

// 导出用户提现审核
export function exportLog(query) {
  return request({
    url: '/com/rejectLog/export',
    method: 'get',
    params: query
  })
}
